package com.fenqiyong.www.mvp;

import com.fenqiyong.www.action.ALoginActContract;
import com.fenqiyong.www.action.ALoginActPresent;
import com.fenqiyong.www.action.BLoginActContract;
import com.fenqiyong.www.action.BLoginActPresent;
import com.fenqiyong.www.action.FragmentIndexContract;
import com.fenqiyong.www.action.FragmentIndexPresent;
import com.fenqiyong.www.action.SplashActContract;
import com.fenqiyong.www.action.SplashActPresent;

import dagger.Binds;
import dagger.Module;
import ren.nearby.http.scope.ActivityScoped;

/**
 * Created by Administrator on 2018/5/18 0018.
 */
@Module()
public abstract class IndexModule {
    @ActivityScoped
    @Binds
    abstract FragmentIndexContract.Action taskAction(FragmentIndexPresent present);


    @ActivityScoped
    @Binds
    abstract SplashActContract.Action task2Action(SplashActPresent present);


    @ActivityScoped
    @Binds
    abstract ALoginActContract.Action task3Action(ALoginActPresent present);


    @ActivityScoped
    @Binds
    abstract BLoginActContract.Action task4Action(BLoginActPresent present);


}
